From e34840d9184cb1336343df5c32a20bdc8a4d6071 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 3 Nov 2003 14:35:24 +0000 Subject: [PATCH] Whack dead code. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@542 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/psitrex.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gpsbabel/psitrex.c b/gpsbabel/psitrex.c index e406c20f5..88939a105 100755 --- a/gpsbabel/psitrex.c +++ b/gpsbabel/psitrex.c @@ -206,22 +206,6 @@ psit_wr_deinit(void) fclose(psit_file_out); } -/* - * get characters until and including terminating NULL from psit_file_in - * and write into buf. - */ -static void -psit_readstr(FILE *psit_file, char *buf, size_t sz) -{ - int c; - while (sz-- && (c = fgetc (psit_file)) != EOF) { - *buf++ = c; - if (c == 0) { - return; - } - } -} - /* * get characters until and including terminating NULL from psit_file_in * and write into buf. -- 2.30.2